]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: Hook SourceActor up to source icon changes automatically
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 23 Jul 2012 04:07:51 +0000 (01:07 -0300)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 17 Aug 2012 22:36:13 +0000 (00:36 +0200)
commit5991c8dca35829907864bdbccff8f301dcc51c06
treeb9b56ceb7b286f7de6130dab50e8e1fdf892e30f
parentb9226fbcbddc2f76663b1355c189e4e9b46801de
messageTray: Hook SourceActor up to source icon changes automatically

Instead of manually tracking source icon changes, or requiring a manual
call to _setSummaryIcon, add a way to emit a signal when we're guaranteed
the icon has been changed, and then the source actor will automatically
update the icon.
_setSummaryIcon is still available for sources such as the notification
daemon, that require special treatment for the summary icon (to be used
with tray icons)

https://bugzilla.gnome.org/show_bug.cgi?id=680426
js/ui/messageTray.js
js/ui/notificationDaemon.js
js/ui/screenShield.js
js/ui/telepathyClient.js